package com.csun.cmny.provider.device.csun.camera.entity;

import com.csun.cmny.provider.utils.DateUtil;
import com.csun.cmny.provider.utils.WatchUtils;
import lombok.Data;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-12-27 14:35
 * @Description:
 */
@Data
public class CsunCameraPictureMsg {

    /**
     * 摄像头拍照消息
     */
    private String msgType = CsunCameraConstant.CAMERA_MSG_PICTURE;

    /**
     * 设备编号
     */
    private String sn;

    /**
     * 日期
     */
    private String date = DateUtil.getCurrentDate();

    /**
     * 任务Id
     */
    private String taskId = WatchUtils.getRandomString(10).toUpperCase();

    /**
     * 上传图片url
     */
    private String pictureUrl;

}
